import request from '@/utils/request'
// 查询排查清单内部列表
export function listInvestigation(hiddenName,hidenstartTime,hiddenEndTime,hidenuserName,code,createTime,hiddenBw) {
  return request({
    url: '/hidden/Investigation/queryGroutData?hiddenName='+hiddenName+'&hiddenStartTime='+hidenstartTime+'&hiddenEndTime='+hiddenEndTime+'&hiddenUserName='+hidenuserName+'&code='+code+'&createTime='+createTime+'&hiddenBw='+hiddenBw,
    method: 'get',
  })
}
// 查询排查清单外部列表
export function groupListInvestigation(code) {
  return request({
    url: '/hidden/Investigation/groupList?code='+code,
    method: 'get',
  })
}
// 上传
export function uploadBase64(data) {
  return request({
    url: '/common/file/uploadBase64',
    method: 'post',
	data
  })
}
// 提交
export function submitInvestigation(data) {
  return request({
    url: '/hidden/Investigation/submit',
    method: 'post',
	data
  })
}
// 保存
export function saveInvestigation(data) {
  return request({
    url: '/hidden/Investigation/save',
    method: 'post',
	data
  })
}

// 风险部位
export function getBwType(hiddenCode,code) {
  return request({
    url: '/hidden/Investigation/getBwType?hiddenCode='+hiddenCode+'&code='+code,
    method: 'get',
  })
}